/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package PoJo;

/**
 *
 * @author Kute_Ants
 */
public class ChiTietOrderPOJO 
{
    private String MaOrder;
    private String MaSanPham;
    private int SoLuong;
    private int ChietKhau;
    private int Gia;
    private String TinhTrang;
    private String MaChuongTrinh;
    
    // phuong thuc khoi tao

    public ChiTietOrderPOJO(String MaOrder, String MaSanPham, int SoLuong, int ChietKhau, int Gia, String TinhTrang, String MaChuongTrinh)
    {
        this.MaOrder = MaOrder;
        this.MaSanPham = MaSanPham;
        this.SoLuong = SoLuong;
        this.ChietKhau = ChietKhau;
        this.Gia = Gia;
        this.TinhTrang = TinhTrang;
        this.MaChuongTrinh = MaChuongTrinh;
    }

    
    
    public ChiTietOrderPOJO() 
    {
        this.MaOrder = null;
        this.MaSanPham = null;
        this.SoLuong = 0;
        this.ChietKhau = 0;
        this.Gia = 0;
        this.TinhTrang = null;
        this.MaChuongTrinh = null;
    }
    
    public ChiTietOrderPOJO(ChiTietOrderPOJO CTO) 
    {
        this.MaOrder = CTO.MaOrder;
        this.MaSanPham = CTO.MaSanPham;
        this.SoLuong = CTO.SoLuong;
        this.ChietKhau = CTO.ChietKhau;
        this.Gia = CTO.Gia;
        this.TinhTrang = CTO.TinhTrang;
        this.MaChuongTrinh = CTO.MaChuongTrinh;
    }
    
    //phuong thuc get/set

    public int getChietKhau() {
        return ChietKhau;
    }

    public void setChietKhau(int ChietKhau) {
        this.ChietKhau = ChietKhau;
    }

    public int getGia() {
        return Gia;
    }

    public void setGia(int Gia) {
        this.Gia = Gia;
    }

    public String getMaChuongTrinh() {
        return MaChuongTrinh;
    }

    public void setMaChuongTrinh(String MaChuongTrinh) {
        this.MaChuongTrinh = MaChuongTrinh;
    }

    public String getMaOrder() {
        return MaOrder;
    }

    public void setMaOrder(String MaOrder) {
        this.MaOrder = MaOrder;
    }

    public String getMaSanPham() {
        return MaSanPham;
    }

    public void setMaSanPham(String MaSanPham) {
        this.MaSanPham = MaSanPham;
    }

    public int getSoLuong() {
        return SoLuong;
    }

    public void setSoLuong(int SoLuong) {
        this.SoLuong = SoLuong;
    }

    public String getTinhTrang() {
        return TinhTrang;
    }

    public void setTinhTrang(String TinhTrang) {
        this.TinhTrang = TinhTrang;
    }
    
    
    
    
    
}
